		
			MCs9865 FreeBSD 6.4 ISA driver For parallel and serial


For isa-serial driver kernel need to compile.


Procedure:

	1. #make 	: To compile the driver.
	2. #make ld	: To load the driver.
	
	Note: Unloading the isa driver not provided by FreeBSD 6.4 kernel.	

	After loading the driver, with dmesg command one should see the following messge.

puc0: <NetMos NM9865 Quad UART> port 0x8800-0x8807,0x8c00-0x8c07,0x9000-0x9007,0x9400-0x9407 mem 0xd1009000-0xd1009fff irq 19 at device 7.2 on pci5
puc0: vendor:9710 device:9865 svendor:a000 sdevice:3004
sio4: <NetMos NM9865 Quad UART> on puc0
sio4: type 16550A

sio5: <NetMos NM9865 Quad UART> on puc0
sio5: type 16550A

sio6: <NetMos NM9865 Quad UART> on puc0
sio6: type 16550A

sio7: <NetMos NM9865 Quad UART> on puc0
sio7: type 16550A



Detection: 
	
	To know serial port name check the /dev directory.
	sio4 indicates /dev/cuad4
	similarly sioX indicates /dev/cuadX where X=0 to f

	where si04,sio5,sio6 and sio7 will be displayed by executing "dmesg" command

	The serials ports are /dev/cuad4, /dev/cuad5 ... /dev/cuadf
	The paralle port are /dev/lpt0, /dev/lpt1.


Testing serial port:
minicom Usage:

	The minicom application is also placed in the same folder 
	usage: ./minicom -s


	Tested Upto 1x baudrate with minicom.
	
Testing parallel port:

	Tested only command line printing.

	1. create a text file.
	2. print it using "cat <file name> >  /dev/lpt0"
